export const main={
    newConnection:"新建连接",
    addConnectionDialogTitle:"添加连接",
    editConnectionDialogTitle:"编辑连接",
    addKeyDialogTitle:"添加Key",
    configDialogTitle:"系统配置"
}

export const FormPlaceholder={
    Host:"请输入Host",
    Port:"请输入Port",
    Auth:"请输入密码(未设置密码请忽略)",
    Name:"请输入连接名",
    OK:"确定",
    cancel:"取消",
    PortFormatError:"port格式错误",
    HostFormatError:"Host不能为空",
    NameFormatError:"请输入连接名"
}

export const ConnectionPrompt={
    ConnectionAlreadyExists:"此连接已存在！"
}

export const addKey={
    type:"类型",
    PleaseChoose:"请选择",
    PleaseChooseTheType:"请选择添加类型!"
}

export const homeVue={
    PleaseChoseDB:"请选择DB",
    addKey:"新增Key",
    PleaseEnterKeyWords:"请输入关键字",
    DisableSearchTips:"key异步加载中,搜索暂不可用",
    WellCome:"欢迎使用pdd-redis-client",
    contact:"如果您在使用此软件时遇到问题，请联系作者的电子邮件：",
    KeyNotExist:"指定的key不存在!",
    NoRelevantkeyMatched:"未匹配到相关key",
    prompt:"提示",
    ConfirmDeletion:"确定要删除吗?",
    connection:"连接",
    Configuration:"设置",
    cmd:"命令",
    refresh:"刷新",
    edit:"编辑",
    delete:"删除",
    connectionError:"无法连接到Redis"
}

export const RedisOperating={
    PleaseEnterTheKey:"请输入Key",
    PleaseEnterTheValue:"请输入Value",
    addNewLine:"添加新行",
    editLine:"编辑行",
    DataLoadingTips:"数据加载中,搜索暂不可用",
    ReNameSuccess:"重命名成功",
    ExpirationTimeSetSuccessfully:"过期时间设置成功",
    DeletedSuccessfully:"删除成功",
    addSuccess:"添加成功",
    KeyAlreadyExistsHash:"该field已经存在此hash中",
    KeyFieldValueCannotBeEmpty:"key/field/value不能为空,请检查",
    addNewLineError:"当前row已被移除，但重新添加row失败",
    rowRemError:"当前row移除失败",
    keyAndValueCannotBeEmpty:"key/value不能为空",
    AlreadyExistsSet:"该值已经存在此set中",
    PleaseEnterScore:"请输入score",
    PleaseEnterMamber:"请输入mamber",
    keyScoreMemberCannotBeEmpty:"key/score/member不能为空,请检查",
    AlreadyExistsZset:"该member已经存在此zset中",
    format:"格式化",
    save:"保存",
    saveSuccess:"保存成功",
    keyExists:"目标键已经存在",
    connectionError:"尝试重新连接的次数过多。 请检查服务器状态跟服务器保护模式！"
}

export const server={
    redis_version:"redis版本",
    os:"系统",
    process_id:"进程id",
    multiplexing_api:"事件处理机制",
    redis_mode:"运行模式",
    mem_allocator:"内存分配器",
    used_memory_peak_human:"峰值",
    used_memory_human:"已分配",
    used_memory_lua:"lua占用",
    mem_fragmentation_ratio:"内存碎片率",
    connected_clients:"客户端连接数",
    total_commands_processed:"处理命令数",
    instantaneous_ops_per_sec:"QPS",
    total_net_input_bytes:"入口流量",
    total_net_output_bytes:"出口流量",
    server:"服务器",
    ram:"内存",
    status:"状态",
    Statistics:"键值统计",
    SysInfo:"系统信息"
}

export const cmd={
    redis_cli:"Redis客户端",
    clear:"清空",
    close:"关闭",
    PleaseSelectConnection:"请选择相应的连接"
}

export const config={
    language:"语言",
    version:"当前版本",
    chooseLanguage:"请选择语言",
    updateSuccess:"配置更新成功"
}